Package builder.resid
Schnittstelle SampleMixer
- Alle Superschnittstellen:
IntConsumer
- Alle bekannten Implementierungsklassen:
SampleMixer.LinearFadingSampleMixer,SampleMixer.LogFadingSampleMixer,SampleMixer.NoFadingSampleMixer,SampleMixer.NoOpSampleMixer
Sound sample consumer consuming sample data while a SID is being clock'ed. A
sample value is added to the audio buffer to mix the output of several SIDs
together.
Note: To mix several SIDs, all SampleMixer's IntBuffers must wrap the same audio buffer. Additionally, the buffer must be cleared, before the next mixing starts.
Note: To mix several SIDs, all SampleMixer's IntBuffers must wrap the same audio buffer. Additionally, the buffer must be cleared, before the next mixing starts.
- Autor:
- ken
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic classExtends SampleMixer with linear fade-in/fade-out feature to smoothly increase/decrease volume.static classstatic classExtends SampleMixer with logarithmic fade-in/fade-out feature to smoothly increase/decrease volume.static classstatic class -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclear()voidsetDelay(int delayedSamples) voidsetFadeIn(long fadeIn) voidsetFadeOut(long fadeOut) voidsetVolume(int volumeL, int volumeR) Von Schnittstelle geerbte Methoden java.util.function.IntConsumer
accept, andThen
-
Methodendetails
-
setFadeIn
void setFadeIn(long fadeIn) -
setFadeOut
void setFadeOut(long fadeOut) -
setVolume
void setVolume(int volumeL, int volumeR) -
setDelay
void setDelay(int delayedSamples) -
clear
void clear()
-